Component({
    options: {
        addGlobalClass: !0
    },
    properties: {
        datas: {
            type: Array || Number
        },
        text: {
            type: String
        },
        choosed: {
            type: String
        }
    },
    data: {},
    methods: {
        goBack: function() {
            wx.navigateBack({
                delta: 1
            });
        },
        close: function() {
            this.setData({
                show: !1
            });
        },
        openMenu: function() {
            this.setData({
                show: !0
            });
        },
        gotoOther: function(a) {
            console.log(a);
            var e = a.currentTarget.dataset.name;
            "home" == e ? wx.navigateTo({
                url: "/packageE/others/case_library/home/caseLibraryHome"
            }) : "category" == e ? wx.navigateTo({
                url: "/packageE/others/case_library/category/caseLibraryCategory"
            }) : "ranking" == e ? wx.navigateTo({
                url: "/packageE/others/case_library/ranking_mobile/caseLibraryRankingMobile"
            }) : "subject" == e && wx.navigateTo({
                url: "/packageE/others/case_library/subject_list/caseLibrarySubjectList"
            });
        }
    }
});